Afghan president signs decree to free 400 Taliban inmates