Final-state interactions in the response of nuclear matter