The Cardinals star said Sunday that he had been playing through discomfort for weeks