Social worker accompanying client whose husband is refusing a divorce is told her short-sleeved shirt is not modest enough to appear before judges