π Berry phase and Zeeman splitting of Weyl semimetal TaP