India and Pakistan agree to a full and immediate ceasefire after days of cross-border strikes.