What event caused the end of Ahom rule in Assam