Michigan & Enbridge agree to replace oil pipes