Switchyard design for the Shanghai soft x-ray free electron laser facility