X-ray flashes from the low-mass X-ray binary IGR J17407-2808