Rivera tears ACL before Royals beat Yankees