Two government departments have been promised ‘first dibs’ at the next £20m available to the Stormont Executive.