Pirates’ Pedro Alvarez replaces Rockies’ Carlos Gonzalez on NL Home Run Derby team