Missouri bill ending capital gains tax heads to governor for signature