Surrey suffered a remarkable final day collapse to start the season with a 10-wicket defeat at the hands of Glamorgan at the Kia Oval.