Erik ten Hag's Manchester United had 33 shots and only scored once as they beat Omonia Nicosia 1-0 in the Europa League.