Blue Devils use 3-run 7th inning to top Trojans