Dolphins keep playoff hopes alive with 29-17 win over 49ers, who were eliminated Sunday afternoon