No more lands shall be certified or conveyed to any State or to any corporation or individual, for the benefit of either of the companies herein mentioned, where it shall appear to the Secretary of the Interior that such transfers may create an excess over the quantity of lands to which such State, corporation, or individual would be rightfully entitled.