Rahm's wild day ends with Memorial win and No. 1 ranking