The Welsh government's budget has been approved by Senedd members in a vote on Tuesday.