Blackstart of Power Grids with Inverter-Based Resources