MINUSMA says its forces were attacked twice as it mounted a hasty operation to pull from the town of Ber in the country's north.