Hammond puts aside £500m to fill post-Brexit skills gap