A bear that rampaged through a Japanese supermarket for two days was lured out with food coated in honey, trapped and due to be killed on Monday, local officials said.