Labour whip resigns over proposed welfare cuts