Angels defeat Pirates in Majors opener