I don't know much about Yamaha to be honest, but Ibanez is amazing quality all up their product line from their budget bass line to their high end basses compared to the price you pay.
I personally use an Ibanez Mikro (GSRM20 the GSR200's little brother) as my main, and I never had a bass with a greater playabillity, even if I owned some 1000$+ basses.
And after I swapped the stock pickups, which were decent by by no means great, with a pair of P/J EMG Geezer Butler pickups, the tone of the instrument is up to the quality of the rest of the instrument.
Nearly the only thing that was not perfect on the Mikro from stock beside the pickups was the fretwork, minor imperfections that doesn't really bother me at my prefered string action anyway.
This is to be suspected on all budget instruments, though you can get lucky, as the last part of the fret leveling procedure is skipped on by far the most budget instruments to save production costs.
Both things that can be fixed later though, should it bother you.
As you might have guessed I advice you to buy the Ibanez
Good luck and rock on
Also as a last note, make sure you get a good set up or save money and time by learning how to do so your self.
It is not that complicated and there are good guides around if you do a search on how to do it.
Even some relatively high end instruments occasionally comes with poor factory setups that can ruin the whole playing experience, if not outright make an otherwise great instrument nearly unplayable.
Finally I would maybe consider trying out some Ibanez's Talman basses too, just about the same price tag.
They come both in a regular 34" scale version and a short scale 30" version, and it has gotten a lot of praises around here.