Ruben Semedo joins Huesca after jail release