Universal Credit loophole means thousands of key workers could lose £500 bonus