Ireland left it late to win their ICC World Twenty20 warm-up game against Nepal, but eventually triumphed in style.