Ultrabroadband suppression of mid-infrared reflection losses of a layered semiconductor by nanopatterning with a focused ion beam