Mercedes’ bid to win in Montreal thwarted by ERS failure