Four Labour MPs who were suspended for voting against the Government on the two-child benefit cap have had the whip restored.