H&M will move into part of the vacant Debenhams premises after an absence from the city of five years.