Shakib spins Bangladesh to victory