St. Paul man sentenced for killing 17-year-old friend