Roadside bomb kills three soldiers in northwest Pakistan