Major US stock indexes took a slide in April, with the tech-heavy Nasdaq seeing its worst month since 2008.