Global shares edge up as Trump signs $2.3 trillion aid bill