Refactored multiple productions for end-subroutine-stmt.
Refactored to remove multiple productions for subroutine-stmt and prefix-spec.