Credit: AP/Mark J. Terrill Brock Purdy, 49ers rally from 17 points down, beat Lions 34-31 to advance to Super Bowl