Work-release inmate dies after returning to York County Prison