The equalities regulator has warned of the “complexity” employers might face in deciding whether an overheard conversation in a workplace could amount to harassment.