Fix error recovery in return statement.

This patch fixes PR16989.