MIR Parser: Report an error when parsing machine function with an empty body.