Redfin Direct, a pilot program that allows consumers to make direct offers on homes listed by real estate brokerage Redfin online without being represented by a buyer’s agent, is violating a regulation regarding agency disclosure, according to a Massachusetts state agency that oversees real estate licensees.