Redo issue 1543 for master

Don't throw an error when yield statement used within a catch block inside a generator function