The ALMA REBELS survey: Discovery of a massive, highly star-forming and morphologically complex ULIRG at z=7.31