All the provisions of sections 851 and 852 of this title, which provide for the selection of lands for educational purposes in lieu of those appropriated for other purposes, are made applicable to the State of Utah, and the grant of school lands to said State, including sections 2 and 32 in each township, and indemnity therefor, shall be administered and adjusted in accordance with the provisions