Revert "MAPREDUCE-5924. Changed TaskAttemptImpl to ignore TA_COMMIT_PENDING event at COMMIT_PENDING state. Contributed by Zhijie Shen"

This reverts commit d4e5fa023dc7754f9e8f2b9d7c40e0d679edb9ac.