Jann-Fiete Arp netted a hat-trick as Germany hammered the Republic of Ireland 7-0 with both sides progressing to the next round.