Shea's third-period hat trick leads Amity hockey team's rally past Milford