A seven-point declaration issued after a security cabinet meeting said the release of Cpl Shalit took priority over efforts to formalise a ceasefire that halted the 22-day military offensive in Gaza .