Employees with agoraphobia - a fear of being unable to escape - can sue their bosses if they are not allowed to work from home, a tribunal has ruled.