Converts a block body to an expression body (a single expression after the = sign).