Guidance says people should not be forced to sign up to codes of conduct that commit them to promoting ‘social justice’