Return to work mandates can weed out underperforming staff but risk pushing away valued workers